﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Interop.Security.AzRoles;

namespace AzManAPI
{
    public class Role
    {
        IAzTask role;

        internal Role(IAzTask role)
        {
            if (role.IsRoleDefinition == 1)
            {
                this.role = role;
            }
            else
            {

                throw new ArgumentException("The given IAzTask object is not a role definition.", "role");
            }
        }
    }
}
